package com.dog.spring;

import com.dog.service.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author <a href="mailto:sand_by@mail.ru">Andrew Sakhno</a> 08.05.2010
 */

@Component
public class BeansHolder{

    @Autowired
    private IContactPersonService contactPersonService;

    @Autowired
    private IRegionService regionService;

    @Autowired
    private ICustomerService customerService;

    @Autowired
    private IRoleService roleService;

    @Autowired
    private IVacancyService vacancyService;

    @Autowired
    private IApplicantService applicantService;

    public IContactPersonService getContactPersonService(){
        return contactPersonService;
    }

    public IRegionService getRegionService(){
        return regionService;
    }

    public ICustomerService getCustomerService(){
        return customerService;
    }

    public IRoleService getRoleService(){
        return roleService;
    }

    public IVacancyService getVacancyService(){
        return vacancyService;
    }

    public IApplicantService getApplicantService(){
        return applicantService;
    }
}
